//
//  PostViewController.h
//  HeSaid
//
//  Created by MWJ on 15/5/4.
//  Copyright (c) 2015年 MWJ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import <AudioToolbox/AudioToolbox.h>

static SystemSoundID shake_sound_male_id = 0;
@interface PostViewController : UIViewController<MKMapViewDelegate,CLLocationManagerDelegate,UIPickerViewDelegate,UIPickerViewDataSource,UIImagePickerControllerDelegate>

@property (weak, nonatomic) IBOutlet UITextView *content; //正文
@property (weak, nonatomic) IBOutlet UITextField *ShowTime;  //显示时间
@property(nonatomic)CLLocationCoordinate2D coordinate;
- (IBAction)published:(id)sender;  //提交
- (IBAction)button:(id)sender;  //点击空白处
- (IBAction)setting:(id)sender;  //设置  事件
@property (weak, nonatomic) IBOutlet UIButton *set; //设置 属性
@property (weak, nonatomic) IBOutlet UISlider *slider;
@property (weak, nonatomic) IBOutlet UIButton *submitbutton;


@property(nonatomic)double longitude;  //经度

@property(nonatomic)double latitude;   //纬度
@end
